package com.data.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 测试
 * @Author: data-boot
 * @Date:   2022-11-08
 * @Version: V1.0
 */
@Data
@TableName("account")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="account对象", description="测试")
public class Account implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;

	/**平台登录账户的名称。*/
	@Excel(name = "平台登录账户的名称。", width = 15)
    @ApiModelProperty(value = "平台登录账户的名称。")
    private String accountMobile;
	/**平台登录账户的邮件*/
	@Excel(name = "平台登录账户的邮件", width = 15)
    @ApiModelProperty(value = "平台登录账户的邮件")
    private String accountEmail;
	/**平台登录管理账户的密码*/
	@Excel(name = "平台登录管理账户的密码", width = 15)
    @ApiModelProperty(value = "平台登录管理账户的密码")
    private String accountPassword;
}
